| 1. | Gets the encoding attribute for the document 获取文档的编码方式属性。 |
| 2. | The encoding attribute specifies the preferred encoding to be used Encoding属性指定了适用的编码方式。 |
| 3. | If that is null , then the encoding attribute of the dom stream to be written is used 如果该设置为空,那么使用将要写入的dom流的编码属性 |
| 4. | You will get this error message if a character in the xml document does not match the encoding attribute 如果xml文档中有一个字符与编码属性不匹配,你就会收到这个错误信息。 |
| 5. | Will store the correct encoding information - which matches the actual encoding of the string - in the encoding attribute of the xml declaration 将在xml声明的编码属性中存储正确的编码信息(它与字符串的实际编码相匹配) 。 |
| 6. | Thus the encoding attribute of the manually transcoded xml string is still " utf - 16 " instead of " big5 " . this can be misleading if you are serializing the entire 因此这个以手工方式转码的xml字符串的编码属性仍然是“ utf - 16 ”而不是“ big5 ” 。 |
| 7. | Normally you will get this error message if your xml document contains " foreign " characters , and the file was saved with a single - byte encoding editor like notepad , and no encoding attribute was specified 通常情况下,如果你的xml的文档包含外文字符,或者,文件是使用类似于记事本这样的单字节编辑器来保存的,再或者,编码属性没有被指定,那么,你就会收到这个错误信息。 |